package com.djinfo.work.service;

import com.djinfo.work.entity.QsDicEntity;
import com.djinfo.work.entity.QsQuestionEntity;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * 
 *
 * @date 2017-06-08 10:48:16
 */
public interface QsQuestionService {

	/**
	 * 保存问卷信息
	 * @param object 问卷实体
	 * @param uesrId 用户id
     */
	void saveOrUpdate(QsQuestionEntity object,String uesrId);

	/**
	 * 分页查询
	 * @param object 问卷条件实体
	 * @param pageNum 页数
	 * @param pageSize 一页显示的条数
     * @return
     */
	HashMap<String,Object> getPage(QsQuestionEntity object, Integer pageNum, Integer pageSize);
	public List<QsQuestionEntity> page(QsQuestionEntity object, Integer pageNum, Integer pageSize);
	public List<QsQuestionEntity> list(QsQuestionEntity object);
	public Integer getAllRowCount(QsQuestionEntity object);
	public void delete(QsQuestionEntity object);
	public QsQuestionEntity selectOne(QsQuestionEntity object);
	public QsQuestionEntity getById(String id);
}
